package pearson.automation.forms;

import org.openqa.selenium.By;

import pearson.automation.assets.AssetWithOutRollOver;

public class MyLibraryForm extends BaseFormWithSidebarsAndSearch {
    
    public SearchResultsForm assets;
    
    public MyLibraryForm() {
    super(By.linkText("All"), "Library search");
    assets = new SearchResultsForm();
    }

    public void removeAsset(AssetWithOutRollOver asset) {
        RemoveConfirmationForm confirmationForm = asset.clickRemove();
        confirmationForm.clickYes();
    }

}
